client/var

	// Reloads the page to where the digital station resides
	RedirectTop ={"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
<head>
	<title>Radio</title>
	<meta http-equiv="refresh" content="1;url="}
	RedirectBottom = {"" />
</head>
<body>
<p>Now loading...</p>
</body>
</html>"}

	// Embeds the players in the browser because IE is retarded
	EmbedTop ={"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
<head>
	<title>Radio</title>
	</head>
<body><embed width="100%" height="100%" src=""}

	EmbedBottom = {"" /></div></body></html>"}

client/proc
	LoadStation(station, type)
		winset(src,"Radio_Window","is-visible=true;pos=[WINDOW_LOCATION]")

		if(type==1)
			src<<output("[RedirectTop][station][RedirectBottom]","Radio_Window.RadioBrowser")

		else
			src<<output("[EmbedTop][station][EmbedBottom]","Radio_Window.RadioBrowser")